4D Chart v13CT MENU STATUS |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D Chart v13
CT MENU STATUS
|
CT MENU STATUS ( area ; command ; checked ; available ; name ) | ||||||||
Parameter | Type | Description | ||||||
area | Longint |
![]() |
4D Chart area | |||||
command | Longint |
![]() |
Number of command | |||||
checked | Integer |
![]() |
Is the menu item checked? 0 = Not checked 1 = Checked | |||||
available | Integer |
![]() |
Is the menu item available or dimmed? 0 = Disabled 1 = Enabled | |||||
name | String |
![]() |
Receives name of menu item | |||||
The CT MENU STATUS command returns in the checked, available, and name parameters information about the menu item in area represented by command.
The possible values for command are listed in the Command Codes section.
If available equals 0, the menu item is disabled. If available equals 1, the menu item is enabled.
If checked equals 0, the menu item is not checked. If checked equals 1, the menu item is checked.
name is the text of the menu item.
This example checks a menu item to see if the area is in Show References or Show Values mode. If the area is in Show References mode, Show Values mode is turned on.
CT MENU STATUS(Area;6006;$Checked;$Available;$Name)
If($Name="Show References")
CT DO COMMAND(Area;6006)
End if
Product: 4D Chart
Theme: CT Area Control
Number:
14519
Created: 4D Chart 1